<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\Admin\CompanyController;
use App\Http\Controllers\Admin\AdminController;


Route::post('/admin/login', [AdminController::class, 'login'])->name('adminLogin');
Route::post('/admin/logout', [AdminController::class, 'logout'])->name('adminLogout');
Route::post('/admin/info', [AdminController::class, 'info']);

Route::post('/company/page', [CompanyController::class, 'page'])->name('companyList');
Route::post('/company/add', [CompanyController::class, 'add'])->name('companyAdd');
Route::post('/company/edit', [CompanyController::class, 'edit'])->name('companyEdit');
Route::post('/company/delete', [CompanyController::class, 'delete'])->name('companyDelete');
Route::post('/company/detail', [CompanyController::class, 'detail'])->name('companyDetail');
